package com.loveazure.eo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class User {

	private int id;
	private String name;
	private Date loginDate;
	private Set<UserCourse> userCourse = new HashSet<UserCourse>();

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getLoginDate() {
		return loginDate;
	}

	public void setLoginDate(Date loginDate) {
		this.loginDate = loginDate;
	}

	public Set<UserCourse> getUserCourse() {
		return userCourse;
	}

	public void setUserCourse(Set<UserCourse> userCourse) {
		this.userCourse = userCourse;
	}

	@Override
	public String toString() {
		return name;
	}

}
